if (g_strcmp0 (method_name, "GetItems") == 0)
{
GVariantBuilder builder = G_VARIANT_BUILDER_INIT (G_VARIANT_TYPE ("(" GET_ITEMS_SIGNATURE ")"));
+ GVariant *items;
/* Prevent the emission os signals while collecting accessible
* objects as the result of walking the accessible tree
g_variant_builder_open (&builder, G_VARIANT_TYPE (GET_ITEMS_SIGNATURE));
collect_cached_objects (self, &builder);
g_variant_builder_close (&builder);
+ items = g_variant_builder_end (&builder);
self->in_get_items = FALSE;
- g_dbus_method_invocation_return_value (invocation, g_variant_builder_end (&builder));
+ GTK_NOTE (A11Y,
+ g_message ("Returning %lu items\n", g_variant_n_children (items)));
+
+ g_dbus_method_invocation_return_value (invocation, items);
}
}
{
GtkAtSpiContext *self = user_data;
+ GTK_NOTE (A11Y, g_message ("handling %s on %s", method_name, object_path));
+
if (g_strcmp0 (method_name, "GetRole") == 0)
{
guint atspi_role = gtk_atspi_role_for_context (GTK_AT_CONTEXT (self));
GtkAccessible *accessible = gtk_at_context_get_accessible (GTK_AT_CONTEXT (self));
+ GTK_NOTE (A11Y, g_message ("handling GetProperty %s on %s", property_name, object_path));
+
if (g_strcmp0 (property_name, "Name") == 0)
{
char *label = gtk_at_context_get_name (GTK_AT_CONTEXT (self));